package com.wjs.spring.bean2;


import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Component
public class A {
    public A(){
        System.out.println("A无参构造的执行");
    }
}

@Service
class B{
    public B(){
        System.out.println("B无参构造的执行");
    }
}

@Controller
class C{
    public C(){
        System.out.println("C无参构造的执行");
    }
}

@Repository
class D{
    public D(){
        System.out.println("D无参构造的执行");
    }
}

@Repository
class E{
    public E(){
        System.out.println("E无参构造的执行");
    }
}

@Repository
class F{
    public F(){
        System.out.println("F无参构造的执行");
    }
}